package com.wx.gof.pattern.structural.bridge;

/**
 * @ClassName DepositAccount
 * @Author wx
 * @Description 定期账户
 * @Date 2018-12-10-21:22
 */
public class DepositAccount implements Account {
    @Override
    public Account openAccount() {
        System.out.println("打开定期账号");
        return this;
    }

    @Override
    public void showAccountType() {
        System.out.println("这是一个定期账号");
    }
}
